
package com.insigma.business.qrcode.job.dao;

import com.insigma.business.qrcode.job.dto.search.TrainingVideoBSearcher;
import com.insigma.business.qrcode.job.entity.TrainingVideoDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface TrainingVideoDao {

    
    List<TrainingVideoDO> search(final TrainingVideoBSearcher innerSearcher);

    
    TrainingVideoDO get(final String id);

    
    Integer insert(final TrainingVideoDO trainingVideoDO);

    
    Integer getTrainingVideoMaxTopWeight();

    
    Integer update(final TrainingVideoDO trainingVideoDO);

    
    Integer delete(@Param("id") final String id,
                   @Param("modifierType") final String modifierType,
                   @Param("modifierId") final String modifierId);

}
